package com.example.service.impl;

import com.example.entity.JiaoyiType;
import com.example.mapper.JiaoyiTypeMapper;
import com.example.service.IJiaoyiTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JiaoyiTypeServiceImpl implements IJiaoyiTypeService {
    @Autowired
    private JiaoyiTypeMapper mapper;


    @Override
    public List<JiaoyiType> findAll() {
        return mapper.findAll();
    }
}
